import {Injectable} from '@angular/core';
import {LogService} from './log.service';
@Injectable()
export class AddressService {
    constructor(public log: LogService) {
    }

    getAddress() {
        this.log.log('注入地址服务');
        return new Address(['广东省', '深圳市', '龙岗区']);
    }
}
export class Address {
    constructor(public address: Array<string>) {
    }
}
